// 以下文件格式为描述路由的协议格式
// 你可以调整 routerConfig 里的内容
// 变量名 routerConfig 为 iceworks 检测关键字，请不要修改名称
import Dashboard from './pages/Home/Dashboard';
import User from './pages/PersonalInfomation/User';
import ChangePassword from './pages/PersonalInfomation/ChangePassword';
import GoodList from './pages/GoodsManage/GoodList';
import AddGood from './pages/GoodsManage/AddGood';
import Login from './pages/Login';
import Register from './pages/Register';
import UserPower from './pages/UserManage/UserPower';
import SeeGoodComment from './pages/GoodsManage/SeeGoodComment';
import AdList from './pages/AdManage/AdList';
import OrderList from './pages/OrderManage/OrderList';
import AddAd from './pages/AdManage/AddAd';
import AddOrder from './pages/OrderManage/AddOrder';
const routerConfig = [
  {
    path: '/dashboard/login',
    component: Login,
  },
  {
    path: '/dashboard/register',
    component: Register,
  },
  {
    path: '/dashboard/home',
    component: Dashboard,
  },
  {
    path: '/dashboard/myinfo/account',
    component: User,
  },
  {
    path: '/dashboard/myinfo/changepassword',
    component: ChangePassword,
  },
  {
    path: '/dashboard/goods',
    component: GoodList,
  },
  {
    path: '/dashboard/addgood',
    component: AddGood
  },
  {
    path: '/dashboard/userpower',
    component: UserPower,
  },
  {
    path: '/dashboard/seegoodcomment',
    component: SeeGoodComment,
  },
  {
    path: '/dashboard/adlist',
    component: AdList,
  },
  {
    path: '/dashboard/orderlist',
    component: OrderList,
  },
  {
    path: '/dashboard/addad',
    component: AddAd
  },
  {
    path: '/dashboard/addorder',
    component: AddOrder
  }
];

export default routerConfig;
